<?php

namespace Application\DefaultBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Application\DefaultBundle\Entity\Site
 *
 * @ORM\Table(name="data_site")
 * @ORM\Entity
 */
class Site
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string $name
     *
     * @ORM\Column(name="name", type="string", length=255)
     */
    private $name;

    /**
     * @var integer $group
     *
     * @ORM\ManyToOne(targetEntity="GroupSite", inversedBy="sites")
     */
    private $group;

    /**
     * @var string $url
     *
     * @ORM\Column(name="url", type="string", length=255)
     */
    private $url;

    /**
     * @var string $technology
     *
     * @ORM\Column(name="technology", type="string", length=255)
     */
    private $technology;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return Site
     */
    public function setName($name)
    {
        $this->name = $name;
    
        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set group
     *
     * @param GroupSite $group
     * @return Site
     */
    public function setGroup(GroupSite $group)
    {
        $this->group = $group;
    
        return $this;
    }

    /**
     * Get GroupSite
     *
     * @return GroupSite
     */
    public function getGroup()
    {
        return $this->group;
    }

    /**
     * Set url
     *
     * @param string $url
     * @return Site
     */
    public function setUrl($url)
    {
        $this->url = $url;
    
        return $this;
    }

    /**
     * Get url
     *
     * @return string 
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * Set technology
     *
     * @param string $technology
     * @return Site
     */
    public function setTechnology($technology)
    {
        $this->technology = $technology;
    
        return $this;
    }

    /**
     * Get technology
     *
     * @return string 
     */
    public function getTechnology()
    {
        return $this->technology;
    }
}
